/// birthday : "1970-04-29"
/// address : "湖南省洪江市雪峰镇兰溪冲村兰下组145号"
/// nation : "汉"
/// sex : "0"
/// idNum : "431281197004293026"
/// age : "53"
/// name : ""

class IdcardEntity {
  IdcardEntity({
      this.birthday, 
      this.address, 
      this.nation, 
      this.sex, 
      this.idNum, 
      this.age, 
      this.name,});

  IdcardEntity.fromJson(dynamic json) {
    birthday = json['birthday'];
    address = json['address'];
    nation = json['nation'];
    sex = json['sex'];
    idNum = json['idNum'];
    age = json['age'];
    name = json['name'];
  }
  String? birthday;
  String? address;
  String? nation;
  String? sex;
  String? idNum;
  String? age;
  String? name;
IdcardEntity copyWith({  String? birthday,
  String? address,
  String? nation,
  String? sex,
  String? idNum,
  String? age,
  String? name,
}) => IdcardEntity(  birthday: birthday ?? this.birthday,
  address: address ?? this.address,
  nation: nation ?? this.nation,
  sex: sex ?? this.sex,
  idNum: idNum ?? this.idNum,
  age: age ?? this.age,
  name: name ?? this.name,
);
  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['birthday'] = birthday;
    map['address'] = address;
    map['nation'] = nation;
    map['sex'] = sex;
    map['idNum'] = idNum;
    map['age'] = age;
    map['name'] = name;
    return map;
  }

}